package org.csu.mypetstore.domain;

public class Sms {
    private static int newcode;
    private static String number;
    public static int getNewcode() {
        return newcode;
    }
    public static void setNewcode(){
        newcode = (int)(Math.random()*9999)+100;  //每次调用生成一位四位数的随机数
    }

    public static String getNumber() {
        return number;
    }

    public static void setNumber(String number) {
        Sms.number = number;
    }
}
